package ${package.Mapper};

import ${package.Entity}.${entity};
import ${package.Entity}.vo.${entity}Vo;
import ${superMapperClassPackage};
import java.util.List;
<#if mapperAnnotation>
import org.apache.ibatis.annotations.Mapper;
</#if>

/**
 * <p>
 * ${table.comment!} Mapper 接口
 * </p>
 *
 * @author ${author}
 * @since ${date}
 */
<#if mapperAnnotation>
@Mapper
</#if>
<#if kotlin>
interface ${table.mapperName} : ${superMapperClass}<${entity}>
<#else>
public interface ${table.mapperName} extends ${superMapperClass}<${entity}> {
    int insert${entity}(${entity} ${entityInstance});

    int update${entity}(${entity} ${entityInstance});

    List<${entity}> selectList(${entity}Vo ${entityInstance}Vo);

    ${entity} selectById(Long id);
}
</#if>
